package com.zego.zegowawaji_server.listener;

import com.zego.base.bean.CustomZegoUser;
import com.zego.zegoliveroom.ZegoLiveRoom;

import java.util.List;

/**
 * 房间信息变化回调
 */

public interface IRoomClient {
    // 获取全部用户
    List<CustomZegoUser> getTotalUser();

    // 获取队列中用户
    List<CustomZegoUser> getQueueUser();

    // 更新当前在玩用户信息
    void updateCurrentPlayerInfo(String userId, String userName);

    // 获取直播房间
    ZegoLiveRoom getZegoLiveRoom();

    //
    void runOnWorkThread(Runnable task);
}
